package com.neusoft.elm_servlet.service.impl;

import java.sql.SQLException;
import java.util.List;

import com.neusoft.elm_servlet.dao.BusinessDao;
import com.neusoft.elm_servlet.dao.impl.BusinessDaoImpl;
import com.neusoft.elm_servlet.po.Business;
import com.neusoft.elm_servlet.service.BusinessService;

public class BusinessServiceImpl implements BusinessService {

	BusinessDao businessDao = new BusinessDaoImpl(); 
	
	@Override
	public List<Business> listBusinessByOrderTypeId(String orderTypeId) throws SQLException{
		return businessDao.listBusinessByOrderTypeId(orderTypeId);
	}

	@Override
	public Business getBusinessById(String businessId) throws SQLException {
		return businessDao.getBusinessById(businessId);
	}

}
